
package com.zsrt.day20170427.ch04;

public class XiaomiPhone implements Phone {

	private int price;
	
	

	/**
	 * @param price
	 */
	public XiaomiPhone(int price) {
		super();
		this.price = price;
	}

	/**
	 * @return the price
	 */
	public int getPrice() {
		return price;
	}

	/**
	 * @param price the price to set
	 */
	public void setPrice(int price) {
		this.price = price;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "小米手机 [price=" + price + "]";
	}
	
	
	
	
	
}
